local BaseData = require("data.base.BaseData")
local MailUnitData = class("MailUnitData", BaseData)

local schema = {}
schema["id"] = {"number", 0}
schema["title"] = {"string", ""}
schema["content"] = {"string", ""}
schema["awards"] = {"table", {}}
MailUnitData.schema = schema

function MailUnitData:ctor()
    MailUnitData.super.ctor(self)
end

function MailUnitData:update(data)
    self:setProperties(data)
end

return MailUnitData
